import { ApiProperty } from '@nestjs/swagger';
import { IsInt } from 'class-validator';

export class StartTaskDto {
  @ApiProperty({
    example: 1,
    required: true,
  })
  @IsInt()
  readonly id: number;
}
